package cn.cttic.order.api;


import net.bytebuddy.asm.Advice;

import java.time.LocalDateTime;

/**
 * 用户服务
 *
 * @author Times.Studio
 */
public interface RemoteInstallOrderService {

    /**
     * 设备上线
     * @param imei
     * @param onlineTime
     * @param interfaceId
     * @return
     */
    boolean deviceOnline(String imei, LocalDateTime onlineTime, String interfaceId);

    /**
     * 设备激活
     * @param imei
     * @param activeTime
     * @param lastOnlineTime
     * @param interfaceId
     * @return
     */
    boolean deviceActive(String imei, LocalDateTime activeTime, LocalDateTime lastOnlineTime, String interfaceId);

}
